using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace DataUp.Model {

	/// <summary>
	/// 街道设置
	/// </summary>
	[JsonObject(MemberSerialization.OptIn), Table(DisableSyncStructure = true)]
	public partial class bs_street {

		/// <summary>
		/// 自增列
		/// </summary>
		[JsonProperty, Column(IsPrimary = true, IsIdentity = true)]
		public int STREET_ID { get; set; }

		/// <summary>
		/// 父级区代码
		/// </summary>
		[JsonProperty, Column(StringLength = 40)]
		public string AREA_CODE { get; set; }

		/// <summary>
		/// 状态
		/// </summary>
		[JsonProperty]
		public int? DATA_STATE { get; set; }

		/// <summary>
		/// 创建时间
		/// </summary>
		[JsonProperty, Column(DbType = "datetime2")]
		public DateTime? GMT_CREATE { get; set; }

		/// <summary>
		/// 修改时间
		/// </summary>
		[JsonProperty, Column(DbType = "datetime2")]
		public DateTime? GMT_MODIFIED { get; set; }

		/// <summary>
		/// 纬度
		/// </summary>
		[JsonProperty, Column(StringLength = 20)]
		public string LAT { get; set; }

		/// <summary>
		/// 经度
		/// </summary>
		[JsonProperty, Column(StringLength = 20)]
		public string LNG { get; set; }

		/// <summary>
		/// 备注
		/// </summary>
		[JsonProperty, Column(StringLength = 250)]
		public string MEMO { get; set; }

		/// <summary>
		/// 简称
		/// </summary>
		[JsonProperty, Column(StringLength = 30)]
		public string SHORT_NAME { get; set; }

		/// <summary>
		/// 排序
		/// </summary>
		[JsonProperty]
		public int SORT { get; set; }

		/// <summary>
		/// 街道代码
		/// </summary>
		[JsonProperty, Column(StringLength = 40)]
		public string STREET_CODE { get; set; }

		/// <summary>
		/// 街道名称
		/// </summary>
		[JsonProperty, Column(StringLength = 50)]
		public string STREET_NAME { get; set; }

		/// <summary>
		/// 租户ID
		/// </summary>
		[JsonProperty, Column(StringLength = 32)]
		public string TENANT_CODE { get; set; }

	}

}
